export default function docMaker(htmlDomStr) {
    const doc = document.implementation.createHTMLDocument();
    doc.body.innerHTML = htmlDomStr;

    return doc;
}